import { Injectable } from '@angular/core';

@Injectable()
export class PageTitleService {
  _title: string = '';
  _isNavigation: boolean = false;

  // this is typescript syntax.
  get title(): string {return this._title;}
  set title(title: string) {this._title = title};

  get isNavigation(): boolean { return this._isNavigation; };
  set isNavigation(isNavigation: boolean) {  this._isNavigation = isNavigation ;}
}
